package com.meida.module.bus.client.entity.srmapi.srmtopms;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 需求申请接口
 *
 * @author both
 * @date 2020-09-26
 * *  *
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "importObject", description = "需求申请接口Req")
@EqualsAndHashCode(callSuper = false)
@ToString
public class SrmPms01Req implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("PMS材料申请计划ID")
    private Long purchaseId;
    @ApiModelProperty("PMS材料申请计划编码")
    private String purchaseNo;
    @ApiModelProperty("单据类型")
    private String documentType;
    @ApiModelProperty("项目编码")
    private String projectNo;
    @ApiModelProperty("项目名称")
    private String projectName;
    @ApiModelProperty("专业包代码")
    private String majorCode;
    @ApiModelProperty("专业包名称")
    private String majorName;
    @ApiModelProperty("工程包代码")
    private String packageNo;
    @ApiModelProperty("工程包名称")
    private String packageName;
    @ApiModelProperty("公司编码")
    private String companyCode;
    @ApiModelProperty("公司名称")
    private String companyName;
    @ApiModelProperty("采购组编码")
    private String purchasingGroupCode;
    @ApiModelProperty("采购组名称")
    private String purchasingGroupName;
    @ApiModelProperty("申请人名称")
    private String proposer;
    @ApiModelProperty("申请日期")
    private Long applyTime;
    @ApiModelProperty(value = "SRM附件组ID")
    private String fileGroupId;

    @ApiModelProperty("需求申请接口-detail")
    List<SrmPms01ReqDetail> details;
}
